package lj.courseinterect.transfer;

import lj.courseinterect.entity.CourseInfo;
import lj.courseinterect.entity.QuestionInfo;
import lj.courseinterect.entity.Student;

/**
 * Created by CatoldCui on 2015/5/24.
 */
public class QuestionTransfer {
    QuestionInfo questionInfo;
    Student student;
    CourseInfo courseInfo;

    public QuestionInfo getQuestionInfo() {
        return questionInfo;
    }

    public void setQuestionInfo(QuestionInfo questionInfo) {
        this.questionInfo = questionInfo;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        if(student != null){
            student.setStuPwd("");
        }
        this.student = student;
    }

    public CourseInfo getCourseInfo() {
        return courseInfo;
    }

    public void setCourseInfo(CourseInfo courseInfo) {
        this.courseInfo = courseInfo;
    }
}
